package com.pospi.pospihold.util;

/**
 * 访问服务器的网址
 */
public class Api {
    /**
     * 服务器地址
     */
    public static final String HOST = "http://erp.pospi.com/index.php";
//    public static final String HOST = "http://erp.101base.cn";

    public static final String PAY_URL="http://pay.pospi.com";
    public static final String YS = "YS";
    public static final String YSZ = "YSZ";

    /**
     * 登陆
     */
    public static final String LOGIN = HOST + "/Api/Root/Login";
    /**
     * 菜单
     */
    public static final String SYNC_MENUS = HOST + "/Api/Root/SyncMenus";
    /**
     * 收银员
     */
    public static final String SYNCCASHIER = HOST + "/Api/Root/SyncCashier";
    /**
     * 分类
     */
    public static final String SYNCCATEGORY = HOST + "/Api/Root/SyncCategory";
    /**
     * 单据号
     */
    public static final String GETNO = HOST + "/Api/Root/GetNo";
    /**
     * 上传订单
     */
    public static final String SYNCORDER = HOST + "/Api/Root/SyncOrder";
    /**
     * 店铺信息
     */
    public static final String SYNCSHOP = HOST + "/Api/Root/SyncShop";
    /**
     * 支付方式
     */
    public static final String PAYMENT = PAY_URL + "/Api/Pay/Payment";
    /**
     * 退款
     */
    public static final String REFUND = PAY_URL + "/Api/Pay/Refund";
    /**
     * 会员查询
     */
    public static final String FINDMEMBER = HOST + "/Api/Root/FindMember";
    /**
     * 下载做法
     */
    public static final String SyncModified = HOST + "/Api/Root/SyncModified";
    /**
     * 下载做法组
     */
    public static final String SyncModifiedGroup = HOST + "/Api/Root/SyncModifiedGroup";

    /**
     * 挂单
     */
    public static final String REST_ORDER = HOST + "/Api/Root/SyncResorder";
    /**
     * 取单
     */
    public static final String GET_ORDER = HOST + "/Api/Root/DownResorderMain";
    /**
     * 取单详情
     */
    public static final String GET_ORDER_MSG = HOST + "/Api/Root/DownResorderDetail";
    /**
     * 打印机
     */
    public static final String GET_PRINT_MSG = HOST + "/Api/Root/SyncPrinter";
    /**
     * 获取支付
     */
    public static final String GET_PAY = HOST + "/Api/Root/SyncPayType";
    /**
     * 删除挂单  DelResorder
     */
    public static final String DEL_ORDER = HOST + "/Api/Root/DelResorder";
    /**
     * 桌子
     */
    public static final String GET_TABLE = HOST + "/Api/Root/GetTable";
}
